﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="NLUNZ.Register.Default" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div class="errorMessageBox" id="errorMessage" runat="server">
    </div>
    <div id="registerBox" runat="server" style="margin: 20px; text-align: center; ">
        <table width="400px" style="margin-left: auto; margin-right: auto; border-collapse: collapse;">
            <thead>
            <tr><th colspan="2" style="height: 40px; line-height: 20px; border: 1px solid #CCCCCC; background-color: #36459C;">
                <span style="color: white">
                填写注册信息</span></th></tr></thead>
            <tbody style="border: 1px solid #CCCCCC;">
            <tr style="height: 38px;"><td  style="padding: 5px 10px; width: 120px; text-align: right;">Username:</td><td>
                <asp:TextBox ID="txtUsername" runat="server" Width="200px"></asp:TextBox></td></tr>
            <tr style="height: 38px;"><td style="padding: 5px 10px; width: 120px; text-align: right;">Password:</td><td>
                <asp:TextBox ID="txtPassword" runat="server" Width="200px" TextMode="Password"></asp:TextBox></td></tr>
            <tr style="height: 38px;"><td style="padding: 5px 10px; width: 120px; text-align: right;">Email:</td><td>
                <asp:TextBox ID="txtEmail" runat="server" Width="200px"></asp:TextBox></td></tr>
            <tr style="height: 38px;"><td colspan="2" style="text-align: center">
                <asp:Button ID="btnSubmit" runat="server" Text="Submit" 
                    onclick="btnSubmit_Click" Height="24px" Width="80px" />
                </td></tr></tbody>
        </table>
    </div>
    <div id="confirmationBox" style="padding: 20px;" runat="server">
        <div style="text-align: center; padding: 8px 10px; border: 1px solid #008000; margin: 20px;">注册信息已经提交，请联系管理员给你的账户提供权限后你就可以<a href='<%= ResolveClientUrl("~/Admin") %>'>登录</a>。</div>
    </div>
</asp:Content>
